<%@ page import="com.qf.pojo.com.qf.pojo.User" %><%--
  Created by IntelliJ IDEA.
  com.qf.pojo.User: sun
  Date: 2022/9/6
  Time: 16:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>jsp页面</title>
</head>
<body>
    <%@ include file="header.jsp"%>
<%--脚本--%>
<%--普通脚本--%>
<%
    out.println("java脚本");
    System.out.println("标准的输出流");

%>
<%--声明脚本--%>
<%!
    int i = 1000;
    int j = 0;
//    声明方法
    public void print() {
        System.out.println("print方法");
    }

    com.qf.pojo.User user = new com.qf.pojo.User();
%>

<%
    //调用方法
    print();
    System.out.println(i);
%>

<%--输出脚本--%>
<input type="text" value="<%=i%>">

    <%@ include file="footer.jsp"%>
</body>
</html>
